package com.jlmv.poseidon.framework.dao;

import java.util.List;

import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

@Repository
public class DaoImp<T> extends AbstracDaoJPA<T> {

	public DaoImp() {
		super();
	}

	@Transactional
	@Override
	public T create(T entity) {
		return super.create(entity);
	}

	@Transactional
	@Override
	public T edit(T entity) {

		return super.edit(entity);
	}

	@Transactional
	@Override
	public T remove(T entity) {

		return super.remove(entity);
	}

	@Override
	public List<T> findAll(Class<T> entity) {

		return super.findAll(entity);
	}

	@Override
	public T find(Class<T> entity, Object id) {

		return super.find(entity, id);
	}

	@Override
	public List<T> findRange(Class<T> entity, int[] range) {

		return super.findRange(entity, range);
	}

	
}
